import request from '@/utils/request'

export function queryUserInfo() {
  return request({
    url: 'rest/api/query/user/info/uid',
    method: 'get'
  })
}

/**
 * 注销用户信息
 * @returns {AxiosPromise}
 */
export function deleteUserInformation() {
  return request({
    url: 'rest/api/sys/cas/logout',
    method: 'get'
  })
}
